package com.hs.panghu.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Goods {
    private Integer goodsId;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    private Integer goodsCartCount;
    private String goodsImage;
    private String goodsName;
    private Double goodsPresentPrice;
    private Integer goodsSalesVolume;
    private String goodsShopName;
    private Integer goodsStatus;
    private String goodsUnit;
    private Integer shopCategoryId;
    private Integer shopId;

    public Goods() {
    }

    public Goods(Integer goodsId, Date addTime, Integer goodsCartCount, String goodsImage, String goodsName, Double goodsPresentPrice, Integer goodsSalesVolume, String goodsShopName, Integer goodsStatus, String goodsUnit, Integer shopCategoryId, Integer shopId) {
        this.goodsId = goodsId;
        this.addTime = addTime;
        this.goodsCartCount = goodsCartCount;
        this.goodsImage = goodsImage;
        this.goodsName = goodsName;
        this.goodsPresentPrice = goodsPresentPrice;
        this.goodsSalesVolume = goodsSalesVolume;
        this.goodsShopName = goodsShopName;
        this.goodsStatus = goodsStatus;
        this.goodsUnit = goodsUnit;
        this.shopCategoryId = shopCategoryId;
        this.shopId = shopId;
    }

    public Goods(Integer goodsId, Integer goodsStatus) {
        this.goodsId = goodsId;
        this.goodsStatus = goodsStatus;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getGoodsCartCount() {
        return goodsCartCount;
    }

    public void setGoodsCartCount(Integer goodsCartCount) {
        this.goodsCartCount = goodsCartCount;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getGoodsPresentPrice() {
        return goodsPresentPrice;
    }

    public void setGoodsPresentPrice(Double goodsPresentPrice) {
        this.goodsPresentPrice = goodsPresentPrice;
    }

    public Integer getGoodsSalesVolume() {
        return goodsSalesVolume;
    }

    public void setGoodsSalesVolume(Integer goodsSalesVolume) {
        this.goodsSalesVolume = goodsSalesVolume;
    }

    public String getGoodsShopName() {
        return goodsShopName;
    }

    public void setGoodsShopName(String goodsShopName) {
        this.goodsShopName = goodsShopName;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public Integer getShopCategoryId() {
        return shopCategoryId;
    }

    public void setShopCategoryId(Integer shopCategoryId) {
        this.shopCategoryId = shopCategoryId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
}
